package com.ztk.threadbasic.result;

import com.ztk.threadbasic.enums.ExcelEnum;
import lombok.Data;
import org.springframework.http.HttpStatus;

@Data
public class ExcelResult {
    // 状态
    private int status = ExcelEnum.OK.getCode();

    // 调用是否成功
    private boolean success = Boolean.TRUE;

    // 返回数据
    private Object data;

    // 返回消息（例：错误提示）
    private String message;
}
